<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>积慕</title>
    <link rel="stylesheet" href="/libs/swiper/css/swiper.min.css">
    <link rel="stylesheet" href="/css/buy.css">
</head>
<body>
    <header></header>
    <form action="">
        <div class="ddan">
            <h1>订单信息</h1>
        </div>
        <div class="qdan">
            <ul class="qdan_gowu">
                <li >蛋糕</li>
                <li >商品名称</li>
                <li >属性  </li>
                <li >价格</li>
                <li >购买数量</li>
                <li >小计</li>
                <li >操作</li>
            </ul>
            <div id="hejiBuy"> 

            </div>
            
            <script type="text/html" id="cartTemplate">
                {{each cart shop}}
                <ul class="qdan_list" data-id="{{shop.id}}">
                    <li class="qd_90" herf="/detils.html?id={{shop.id}}"><img src="{{shop.imgs[0]}}" alt=""></li>
                    <li >{{shop.title}}</li>
                    <li >1磅（约454g）</li>
                    <li >￥{{shop.price}}</li>
                    <li class="qd_260">
                        <span id="jige" class="jige" >
                            <a class="reduce" style="cursor:pointer">－</a>
                            <i id="cont" >{{shop.count}}</i>
                            <a class="add" style="cursor:pointer">＋</a>
                        </span> 
                    </li>
                    <li class="qd_340" >￥{{shop.price*shop.count}}</li>
                    <li> <span style="cursor:pointer" class="delshop">删除</a></span>
                </ul>
                {{/each}}
            </script>
        </div>
        <div class="jdan">
            <div class="total">
                <span>合计:￥</span>
                <em id="Paymoney"></em>
            </div>
            
            <div class="jdan_jiesuan">
                <a href="/detils.html">返回购物车</a>
                <input type="text" value="提交">
            </div>
        </div>
    </form>
    <footer></footer>
    <script src="/libs/require/require.min.js" data-main="/js/buy"></script>
</body>
</html>